package epam.lab.spring.context;

import epam.lab.spring.beanfactory.BeanFactory;
import epam.lab.spring.parser.ParserTypes;
import epam.lab.spring.parser.BeanDefinition;

import java.util.Map;

/**
 * Interface for Application Contexts
 * @author Iurii Miedviediev
 * @version 1.0 Build 21.08.2014
 */
public interface ApplicationContext {
    void setParserType(ParserTypes parserType);
    void load(String xmlFileLocation);
    public BeanFactory getBeanFactory();
    void setBeanDefinitions(Map<String, BeanDefinition> beanDefs);
}
